<%--
 % This is the main decorator for all SOMECOMPANY INTRANET pages.
 % It includes standard caching, style sheet, header, footer and copyright notice.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ include file="/includes/cache.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title><decorator:title default="INTRANET"/></title>
    <%@ include file="/includes/style.jsp" %>
    <%@ include file="/includes/script.jsp" %>
    <decorator:head/>
    <style type="text/css">
        body {
            background-color: white;
            margin: 0;
            padding: 0;
        }

        #maincontent {
            position: absolute;
            top: 100px;
            left: 10px;
            width: 90%;
        }

        #yourscrum_header {
            position: absolute;
            width: 300px;
            top: 0;
            left: 0;
        }

        h1 {
            color: #4082ae;
        }

        #logoimage {
            float: left;
        }

        #logotext {
            float: right;
            vertical-align: bottom;
        }
    </style>

    <script type="text/javascript">
        $(document).ready(function() {
            $("#primaryNavigation ul li").corner("bevel bottom 4px");
            $('#primaryNavigation ul li.current').removeClass('current');
            var loc = window.location.pathname;

            if (loc.indexOf('/index') > -1) {
                $('#primaryNavigation ul li.index').addClass('current');
            } else if (loc.indexOf('/story/') > -1) {
                $('#primaryNavigation ul li.story').addClass('current');
            } else if (loc.indexOf('/story') > -1) {
                $('#primaryNavigation ul li.stories').addClass('current');
            } else {
                $('#primaryNavigation ul li.index').addClass('current');
            }
        });
    </script>

</head>
<body>
<%@ include file="/includes/header.jsp" %>
<%@ include file="/includes/navigation.jsp" %>
<div id="maincontent">
    <decorator:body/>
</div>
<%@ include file="/includes/footer.jsp" %>
<%@ include file="/includes/copyright.jsp" %>
</body>
</html>